package PTA;

import java.util.Scanner;

public class Pta13 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n1= sc.nextInt();
        int n2= sc.nextInt();
        if (n1>n2){
            System.out.println(n1);
        } else if (n1<n2) {
            System.out.println(n2);
        }
    }
}
